home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / OWLINC.PAK / DOCVIEW.RC < prev    next >
Text File  |  1997-05-06  |  3KB  |  72 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // Copyright (c) 1993, 1996 by Borland International, All Rights Reserved
  4. //
  5. //$Revision:   10.2  $
  6. //
  7. // Resources to use with TDocManager
  8. //----------------------------------------------------------------------------
  9.  
  10. #include <owl/window.rh>  // CM_EXIT
  11. #include <owl/mdi.rh>
  12. #include <owl/docview.rh>
  13.  
  14. #if defined(RC_INVOKED)
  15.  
  16. #if !defined(NO_IDS_DOCVIEW) && !defined(__IDS_DOCVIEW)
  17. #define __IDS_DOCVIEW
  18. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  19. {
  20.   CM_FILENEW-1,       "Create, open, save and print documents"
  21.   CM_FILENEW,         "Create a new document"
  22.   CM_FILEOPEN,        "Open an existing document"
  23.   CM_FILESAVE,        "Save this document"
  24.   CM_FILESAVEAS,      "Save this document with a new name"
  25.   CM_FILEREVERT,      "Revert changes to last document save"
  26.   CM_FILECLOSE,       "Close this document"
  27.   CM_FILEPRINT,       "Print this document"
  28.   CM_EXIT,            "Quit the application, prompting to save documents"
  29.  
  30.   CM_VIEWCREATE,      "Create a new view for this document"
  31.  
  32.   CM_CASCADECHILDREN-1, "Arrange open windows"
  33.   CM_CASCADECHILDREN, "Cascade open windows"
  34.   CM_TILECHILDREN,    "Tile open windows"
  35.   CM_ARRANGEICONS,    "Arrange iconic windows along bottom"
  36.   CM_CLOSECHILDREN,   "Close all open windows"
  37.  
  38.   IDS_DOCMANAGERFILE, "&File"
  39.   IDS_DOCLIST,        "--Document Type--"
  40.   IDS_VIEWLIST,       "--View Type--"
  41.   IDS_UNTITLED,       "Document"
  42.   IDS_UNABLEOPEN,     "Unable to open document."
  43.   IDS_UNABLECLOSE,    "Unable to close document."
  44.   IDS_READERROR,      "Document read error."
  45.   IDS_WRITEERROR,     "Document write error."
  46.   IDS_DOCCHANGED,     "The document has been changed.\n\nDo you want to save the changes?"
  47.   IDS_NOTCHANGED,     "The document has not been changed."
  48.   IDS_NODOCMANAGER,   "Document Manager not present."
  49.   IDS_NOMEMORYFORVIEW,"Insufficient memory for view."
  50.   IDS_DUPLICATEDOC,   "Document already loaded."
  51. }
  52. #endif
  53. #undef NO_IDS_DOCVIEW
  54.  
  55. #if !defined(NO_IDM_DOCMANAGERFILE) && !defined(__IDM_DOCMANAGERFILE)
  56. #define __IDM_DOCMANAGERFILE
  57. IDM_DOCMANAGERFILE MENU LOADONCALL MOVEABLE PURE DISCARDABLE
  58. {
  59.   MenuItem  "&New",            CM_FILENEW
  60.   MenuItem  "&Open...",        CM_FILEOPEN
  61.   MenuItem  "&Save",           CM_FILESAVE
  62.   MenuItem  "Save &As...",     CM_FILESAVEAS
  63.   MenuItem  "&Revert To Saved",CM_FILEREVERT
  64.   MenuItem  "&Close",          CM_FILECLOSE
  65.   MenuItem  SEPARATOR
  66.   MenuItem  "E&xit",           CM_EXIT
  67. }
  68. #endif
  69. #undef NO_IDM_DOCMANAGERFILE
  70.  
  71. #endif  // defined(RC_INVOKED)
  72.